package com.kuzan.autocloud.client.sys.view.controller;

import com.kuzan.autocloud.client.sys.helper.HttpRequestHelper;
import com.kuzan.autocloud.common.Result;
import com.kuzan.autocloud.common.model.organization.Person;
import com.netflix.discovery.converters.Auto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpRequest;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>Description: 菜单数据api</p>
 *
 * @author kuzank 2019/12/2
 */
@RestController
@RequestMapping({"/v/menu"})
public class VMenuController {

    @Autowired
    HttpServletRequest servletRequest;
    @Autowired
    HttpRequestHelper requestHelper;


    @GetMapping("all")
    public Result<Object> all() {

        Person person = requestHelper.getPerson(servletRequest);


        return null;
    }

}
